package Test;

public class classTest {
    public static void main(String[] args) throws ClassNotFoundException {
        Class<?> c1 = classTest.class;
        System.out.println(c1);
        classTest classTest = new classTest();
        Class<?> c2 = classTest.getClass();
        System.out.println(c2);
        System.out.println(c1 == c2);
        Class<?> c3 = Class.forName("Test.classTest");
        System.out.println(c1==c3);
        Class<?> c4= Integer.TYPE;
        Class<?> c5 = int.class;
        System.out.println(c4==c5);
    }
}
